package com.hnx.admin.aurora.system.service.impl;

import com.hnx.admin.aurora.system.domain.dto.notice.entity.NoticeDTO;
import com.hnx.admin.aurora.system.domain.param.notice.form.NoticeForm;
import com.hnx.admin.aurora.system.domain.param.notice.query.NoticeQuery;
import com.hnx.admin.aurora.system.mapper.notice.SysNoticeMapper;
import com.hnx.admin.aurora.system.service.SysNoticeService;
import com.hnx.admin.aurora.web.json.ResultJson;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/*
创建人： 倔强的头发
创建时间：2025/7/5
功能描述:

*/
@Service
@RequiredArgsConstructor
public class SysNoticeServiceImpl implements SysNoticeService {
    private final SysNoticeMapper sysNoticeMapper;
    @Override
    public ResultJson selectNoticeList(NoticeQuery notice) {
        List<NoticeDTO> list = sysNoticeMapper.selectNoticeList(notice);
        return ResultJson.rows(list);
    }

    @Override
    public ResultJson selectNoticeById(String noticeId) {
        return null;
    }

    @Override
    public ResultJson insertNotice(NoticeForm notice) {
        return null;
    }

    @Override
    public ResultJson updateNotice(NoticeForm notice) {
        return null;
    }

    @Override
    public ResultJson deleteNoticeByIds(String[] noticeIds) {
        return null;
    }
}
